﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AutoTestingFramework.Core.Configurations
{
    public class WebDriverSettings : IWebDriverSettings
    {
        public WebDriverSettings()
        {
            this.CommandTimeout = TimeSpan.FromSeconds(60);
            this.DriverServerDirectory = AppDomain.CurrentDomain.BaseDirectory + @"\WebDrivers";
        }
        /// <summary>
        /// IE/Chrome Driver executable assembly path
        /// </summary>
        public string DriverServerDirectory { get; set; }
        /// <summary>
        /// The maximum amount of time to wait for each command when web driver executing.
        /// </summary>
        public TimeSpan CommandTimeout { get; set; }

        public Uri HubURL { get; set; }

        public Capability BrowserCapability { get; set; }
       
    }
}
